<template>
	<goods-list type="new" :list="list"></goods-list>
</template>
<script>
	import {
		getGoodsSearch
	} from '@/api/store';
	export default {
		data() {
			return {
				list:{}
			}
		},
		async onLoad(options) {
			var _this = this;
			getGoodsSearch({
				category_id:0
			}).then(res => {
				console.log(res)
				if(res.code == 1){
					_this.list = res.data.list
				}
			})
		}
	}
</script>